package com.sun.customer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
//@EnableScheduling
//@EnableAspectJAutoProxy
@MapperScan(basePackages = "com.sun.customer.mapper.local")
@EnableTransactionManagement
public class StartApplication {

	public static void main(String[] args) {
		ApplicationContext app = SpringApplication.run(StartApplication.class, args);
		//SpringContextUtil.setApplicationContext(app);
	}

}
